import request from '@/config/axios';
const API=import.meta.env.VITE_BASES_URL;
import { getAccessToken} from '@/utils/auth'

// 获取详情
export const ryswDetails = () => {
  return request.get(
    { 
      url:`${API}/evaluate/rysw/details`,
      headers: {
        'Authorization':'Bearer ' + getAccessToken(),
      }
    },
)
}
// 修改
export const ryswUpdate = (data) => {
  return request.post({ url:`${API}/evaluate/rysw/update`,data,headers: {
    'Authorization':'Bearer ' + getAccessToken(),
  } })
}
